package com.ovopark.organize.server.service;

import com.ovopark.organize.server.model.entity.FranchiseesApprovalAddressRegistration;

/**
 * @Description: 选点地址和线索关系
 * @Author:zll
 * @Date:
 */
public interface FranchiseesApprovalAddressRegistrationService {
    
    /** 
     * @description: 删除
     * @param: [groupId, addressId, registrationId]
     * @return: void
     * @author wxb
     * @date: 2024/6/11 20:23
     */ 
    boolean deleteBy(Integer groupId, Integer addressId, Integer registrationId);
    
    /** 
     * @description: 新增
     * @param: [groupId, addressId, registrationId]
     * @return: void
     * @author wxb
     * @date: 2024/6/11 20:23
     */ 
    boolean add(Integer groupId, Integer addressId, Integer registrationId, Integer userId);

    /**
     * @description: 新增或修改
     * @param: [approvalAddressRegistration]
     * @return: boolean
     * @author wxb
     * @date: 2024/6/12 10:54
     */
    boolean update(FranchiseesApprovalAddressRegistration approvalAddressRegistration);

    /**
     * @description: 获取
     * @param: [groupId, addressId, registrationId, userId]
     * @return: com.ovopark.organize.server.model.entity.FranchiseesApprovalAddressRegistration
     * @author wxb
     * @date: 2024/6/12 10:55
     */
    FranchiseesApprovalAddressRegistration getBy(Integer groupId, Integer addressId, Integer registrationId);

}
